package xyz.ddlnt.serviceusr.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.ddlnt.model.dto.PageDTO;
import xyz.ddlnt.model.dto.UserContentInteractionDTO;
import xyz.ddlnt.model.entity.PrivateMessageList;
import xyz.ddlnt.model.vo.PrivateMessageListVO;

import java.util.List;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/26 16:49
 */
public interface PrivateMessageListService extends IService<PrivateMessageList> {
    /**
     * 判断(并插入)私信列表
     * @param userContentInteractionDTO
     * @return
     */
    Integer JudgeAndInsertPrivateMessageList(UserContentInteractionDTO userContentInteractionDTO);

    /**
     * 获取私信列表
     * @param pageDTO
     * @return
     */
    List<PrivateMessageListVO> listPrivateMessageList(PageDTO pageDTO);

    /**
     * 删除私信
     * @param userContentInteractionDTO
     * @return
     */
    Boolean deletePrivateMessage(UserContentInteractionDTO userContentInteractionDTO);
}
